BooleanSetting

abstract class BooleanSetting : Setting

Represents a setting that can be either enabled or disabled.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun isEnabled(): Boolean
Tells whether the setting is currently enabled.
Link copied to clipboard
abstract fun isUpdating(): Boolean

Tells whether the setting is updating.

Link copied to clipboard
abstract fun setEnabled(enabled: Boolean)
Sets the setting value.
Link copied to clipboard
abstract fun toggle()
Toggles the current setting value, i.e.